Get top points for entity type
GET/points/:entityType/top
Will return a list of entities of the given type with the most points
Request
Path Parameters
entityType stringrequired
Possible values: [user
, group
]
The entity type of the user to get points for
Responses
- 200
A list of points
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
type
description
items
object
name stringrequired
the entity name
total integerrequired
the total number of points for this entity
title
[
[
{
"name": "string",
"total": 0
}
]
]
Loading...